<?php
/* @var $this GaleriController */
/* @var $dataProvider CActiveDataProvider */


?>



<div class="isikanan">
      <table border="0px" cellpadding="0" cellpadding="0" id="slidex">
        <tr>
            <?php
            $i = 0; foreach ($model_galeri as $model): $i++;?>
            <td valign="top" style="width:252px;height:148px;padding:10px;">
                <div>
                <a href="<?=bu();?>/img/galeri/full/<?=$model['id']?>.jpg"
                   title="<?=htmlentities($model['nama'], ENT_QUOTES)?> <?=htmlentities($model['isi'], ENT_QUOTES)?>">
                    <img border="0" src="<?=bu();?>/img/galeri/thumb/<?=$model['id']?>.jpg" width="252px" height="148px"
                         style="padding-bottom:0px;border:0px solid #bfbfbf;padding:3px;margin: 0px 0px 0px 0px;"/></a>
                </a>
                </div>
                
                <div>
                   <div class="fontswiss71swa font13" style="padding-left: 3px;">
                   <div> <?=ucwords($model['nama'])?></div>                  
                   </div>
                
                </div>
                
            </td>
            <? if (($i % 2) == 0) { ?>  </tr><tr> <? } ?>
            <? if ($i == $count) { ?>  </tr><? } ?>
            <?php endforeach; ?>
   
        </table>
  
  <table border="0px" cellpadding="0" cellpadding="0" align="center">
            <tr><td colspan="2">
        <div style="position:relative;"  align="center">
        <?php $this->widget('CLinkPager', array(
        'pages' => $pages,
        'cssFile'=>bu().'/css/pager.css',
    )) ?>    
    </div>
    </td>
    </tr>
  </table>
    <br class="clear"/></div>
    